package com.college.collegeinfomanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value ="university")
public class University {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String address;
    @TableField(value = "established_year")
    private int establishedYear;
    @TableField(value = "admission_code")
    private String admissionCode;
    @TableField(value = "school_nature")
    private String SchoolNature;

    private String phone;
    private String logo;
}
